﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Phoenix.AppCode.Entities
{
    public class Contact
    {
        public Contact()
        {
            idcontact = 0;
            fullname = "";
            email = "";
            subject = "";
            content = "";
            state = true;
            postdate = DateTime.Now;
        }

        private int idcontact;
        private string fullname;
        private string email;
        private string subject;
        private string content;
        private bool state;
        private DateTime postdate;

        public int ID_Contact
        {
            get { return idcontact; }
            set { idcontact = value; }
        }
        public string FullName
        {
            get { return fullname; }
            set { fullname = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        public string Subject
        {
            get { return subject; }
            set { subject = value; }
        }
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        public bool State
        {
            get { return state; }
            set { state = value; }
        }
        public DateTime PostDate {
            get { return postdate; }
            set { postdate = value; }
        }
    }
}